Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leave at least 3 points in a polygon #200

Merged
merged 1 commit into from
Oct 3, 2013
Merged

Conversation

Zverik
Copy link
Contributor

@Zverik Zverik commented Oct 3, 2013

It is possible in edit mode to remove all but two nodes in a polygon, leaving it essentially a line. This commit fixes that, ensuring a polygon has at least three nodes.

jacobtoye added a commit that referenced this pull request Oct 3, 2013
Leave at least 3 points in a polygon
@jacobtoye jacobtoye merged commit 534b3da into Leaflet:master Oct 3, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants